package com.engineering.elink.domain;

import io.swagger.annotations.ApiParam;

import java.util.Date;

public class Collection {
	
    private Integer collectionId;

    @ApiParam(value="外键主键",required=true)
    private String fkId;

    private String userId;

    private Date collectionTime;

    @ApiParam(value="收藏类型,1--博文，2--企业，3--职位,4--资料,5--论文,6--新闻,7--技能,8--课程,9--视频, 10 --百问百答 默认1",required=false,defaultValue="1")
    private Integer type;//收藏类型,1--博文，2--企业，3--职位,4--资料,5--论文,6--新闻,7--技能,8--课程,9--视频,, 10 --百问百答默认1

    public Integer getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(Integer collectionId) {
        this.collectionId = collectionId;
    }

    public String getFkId() {
        return fkId;
    }

    public void setFkId(String fkId) {
        this.fkId = fkId == null ? null : fkId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getCollectionTime() {
        return collectionTime;
    }

    public void setCollectionTime(Date collectionTime) {
        this.collectionTime = collectionTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}